package cn.zhc.com.http.listener;

/**
 * Created by zhouhongchun on 2017/8/4.
 */

public interface OnHttpRequestListener {

    void onStart(String IDUrl, boolean isCache);

    void onNext(Object data, String IDUrl, boolean isCache);

    void onCompleted(String IDUrl, boolean isCache);

    void onError(Throwable e, String IDUrl, boolean isCache);
}
